Owen Taylor [Mon, 4 Feb 2002 15:13:26 +0000 (15:13 +0000)]
on Feb 4 10:06:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: gtk-double-click-time,
not gtk-double-click-timeout. (#70501)
Stanislav Visnovsky [Mon, 4 Feb 2002 11:37:05 +0000 (11:37 +0000)]
Updated Slovak translation.
2002-02-04 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
Havoc Pennington [Mon, 4 Feb 2002 06:08:28 +0000 (06:08 +0000)]
rename "signal" arg to "name" to avoid compiler warnings about shadowing
2002-02-04 Havoc Pennington <hp@pobox.com>
* gtk/gtksignal.c (gtk_signal_connect_while_alive):
(gtk_signal_connect_object_while_alive): rename
"signal" arg to "name" to avoid compiler warnings
about shadowing signal(). #70453
Anders Carlsson [Sun, 3 Feb 2002 21:18:44 +0000 (21:18 +0000)]
Add flipping support to the expanders.
2002-02-03 Anders Carlsson <expander-master@gtk.org>
* gtk/gtkstyle.c (gtk_default_draw_expander): Add
flipping support to the expanders.
Hasbullah Bin Pit [Sun, 3 Feb 2002 03:22:32 +0000 (03:22 +0000)]
Updated Malay Translation.
2002-02-03 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po: Updated Malay Translation.
Owen Taylor [Sun, 3 Feb 2002 03:02:07 +0000 (03:02 +0000)]
RC file lookup improvements (#68234, suggestions from Matthias Clasen.)
Sat Feb 2 21:54:01 2002 Owen Taylor <otaylor@redhat.com>
RC file lookup improvements (#68234, suggestions
from Matthias Clasen.)
* gtk/gtkrc.c (gtk_rc_parse_file): Look for the
locale suffix variants (gtkrc.en_US, gtkrc.en) for
all RC files we parse, not just the default RC
files.
* gtk/gtkrc.c (gtk_rc_parse_default_files): Remove
support for charset specific RC files.
Owen Taylor [Sun, 3 Feb 2002 01:25:32 +0000 (01:25 +0000)]
Non-exported _gtk_menu_select_first() function that selects the first item
Sat Feb 2 20:16:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenushell.c (_gtk_menu_shell_select_first):
Non-exported _gtk_menu_select_first() function that
selects the first item of the menu in a standard
way. (Skipping tearoffs.)
* gtk/gtkmenushell.c gtk/gtkentry.c gtk/gtktextview.c
gtkmenuitem.c: Use _gtk_menu_shell_select_first().
* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Remember
if we are starting the timeout from a keypress so
we can set menushell->ignore_enter properly.
* gtk/gtknotebook.c (focus_child_in): Return something
meaningful if there are no children.
* gtk/gtkmenu.c (gtk_menu_key_press): Fix precendence
problem.
Owen Taylor [Sun, 3 Feb 2002 00:18:41 +0000 (00:18 +0000)]
Fix some bugs in the determination of xgrab_shell.
Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
the determination of xgrab_shell.
Owen Taylor [Sat, 2 Feb 2002 22:52:22 +0000 (22:52 +0000)]
Add a GtkSetting (gtk-entry-select-on-focus) controlling whether the
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
(gtk-entry-select-on-focus) controlling whether the
contents of an entry are selected on focus in.
* gtk/gtkmenu.c (gtk_menu_key_press): Add a GtkSetting
(gtk-can-change-accels) controlling whether accelerators can be
changed on the fly or not. (#51902)
* gtk/gtkmenu.c (gtk_menu_key_press): Allow unmodified
accelerators, now that accelerator changing can be turned
off for those who won't expect it. (#61285)
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
Backspace/Delete/KP_Delete as valid accelerators.
* gtk/gtkmenu.c (gtk_menu_key_press): Allow setting of
Delete/Backspace as accelerators by making them toggle
the menu item between empty and the pressed key.
(#58605)
* tests/testgtkrc: Remove the objectionably short cursor blink
time setting.
Owen Taylor [Sat, 2 Feb 2002 21:50:46 +0000 (21:50 +0000)]
To get around the fact that we may have a owner_events = FALSE grab in
Sat Feb 2 16:43:31 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): To get around the fact
that we may have a owner_events = FALSE grab in effect
when we pop up a window, make a temporary grab on a
different window, then grab on the real window. Fixes
a problem where if a context menu popped up under the
cursor, the first item would be stuck unselected.
(#59812, reported by Arnaud Charlet.)
Peter Williams [Sat, 2 Feb 2002 20:12:53 +0000 (20:12 +0000)]
Install gtkrc.default from $(srcdir) for when $(builddir) is different.
2002-02-02 Peter Williams <peterw@ximian.com>
* gtk/Makefile.am (install-data-local): Install gtkrc.default
from $(srcdir) for when $(builddir) is different.
Kristian Rietveld [Sat, 2 Feb 2002 17:58:07 +0000 (17:58 +0000)]
remove TESTGTK_RCFILE define
Sat Feb 2 19:00:39 2002 Kristian Rietveld <kris@gtk.org>
* gtk/Makefile.am: remove TESTGTK_RCFILE define
Owen Taylor [Sat, 2 Feb 2002 17:52:01 +0000 (17:52 +0000)]
Remove the "select first item if popped up from keypress" hack -- was
Sat Feb 2 11:37:21 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Remove the
"select first item if popped up from keypress" hack --
was causing more problems than it was worth
(#53191, #68483)
* gtk/gtktextview.c (popup_targets_received):
gtk/gtkentry.c (popup_targets_received): If activated
from keyboard, select first item of popup menu.
Kristian Rietveld [Sat, 2 Feb 2002 17:07:49 +0000 (17:07 +0000)]
set upper member of vadjustment correct, so the vscrollbars of lists
Sat Feb 2 18:07:51 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper member
of vadjustment correct, so the vscrollbars of lists smaller than
1 page are somewhat saner (#66905)
* gtk/gtkliststore.c (gtk_list_store_remove_silently): do not
increment the stamp, liststore is a model with persisting iters
Owen Taylor [Sat, 2 Feb 2002 16:37:23 +0000 (16:37 +0000)]
Support engine "" {} to mean override to the default engine. (#70205)
Fri Feb 1 23:54:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.[ch] (gtk_rc_parse_engine): Support
engine "" {} to mean override to the default
engine. (#70205)
Ole Laursen [Sat, 2 Feb 2002 15:44:15 +0000 (15:44 +0000)]
Updated Danish translation.
2002-02-02 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Owen Taylor [Sat, 2 Feb 2002 04:34:09 +0000 (04:34 +0000)]
Parse the RC string here when the first object is created rather than in
Fri Feb 1 23:25:33 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_init): Parse the
RC string here when the first object is created
rather than in the class_init to not break doc
building. (#70341, Havoc Pennington.)
* gtk/gtkrc.c (parse_include_file): Use the directories
for the currently parsed files as the starting point
to look for include files. (#59975)
Manish Singh [Sat, 2 Feb 2002 04:26:48 +0000 (04:26 +0000)]
use gtk_label_new_with_mnemonic for labels that actually have mnemonics
Fri Feb 1 20:21:56 2002 Manish Singh <yosh@gimp.org>
* gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels
that actually have mnemonics
Owen Taylor [Sat, 2 Feb 2002 01:00:42 +0000 (01:00 +0000)]
Fix use of ! in shell.
Fri Feb 1 19:57:59 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix use of ! in shell.
* gtk/gtktooltips.c (gtk_tooltips_class_init) gtkrc.default:
Move the setting of default tooltips colors to gtktooltips.c
from gtkrc.default. (Use default priority so themes will
override.) (#58542)
Owen Taylor [Sat, 2 Feb 2002 00:44:52 +0000 (00:44 +0000)]
Fix ordering of priorities so that priorities take precendence over the
Fri Feb 1 17:48:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_get_style): Fix ordering of
priorities so that priorities take precendence over
the ordering by type. (#70205)
* test/testgtkrc tests/testgtk.c (create_rc_file): Add
some labels to test priorities in testgtkrc.
Matthias Clasen [Fri, 1 Feb 2002 23:59:52 +0000 (23:59 +0000)]
Build the tga loader as a static library. (#70157)
* Makefile.am: Build the tga loader as a static library. (#70157)
Matthias Clasen [Fri, 1 Feb 2002 23:43:07 +0000 (23:43 +0000)]
Merge 16- and 32-bit ico support from the stable branch. (#61179)
* io-ico.c: Merge 16- and 32-bit ico support from the stable
branch. (#61179)
* io-gif.c: Recomposite all images if the animation size changes
while loading. (#70055)
* gdk-pixbuf.c (gdk-pixbuf-fill): Make it work for subpixbufs.
(#70055)
Kristian Rietveld [Fri, 1 Feb 2002 23:36:10 +0000 (23:36 +0000)]
use y coordinate relative to the tree and not the treeview window (fixes
Fri Feb 1 00:37:49 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): use
y coordinate relative to the tree and not the treeview window
(fixes the PgDn/PgUp brokenness)
Kristian Rietveld [Fri, 1 Feb 2002 22:41:39 +0000 (22:41 +0000)]
adjust cell_area and background_area for possible treeview scroll (fixes
Fri Feb 1 23:40:31 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): adjust
cell_area and background_area for possible treeview scroll
(fixes #70283, #70065)
Kristian Rietveld [Fri, 1 Feb 2002 21:21:01 +0000 (21:21 +0000)]
(committed this again -- broken pipe and ChangeLog update)
Fri Feb 1 22:20:13 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): use
height - page_size not height - allocation->height (fixes #66269)
Kristian Rietveld [Fri, 1 Feb 2002 21:18:17 +0000 (21:18 +0000)]
use height - page_size not height - allocation->height
Fri Feb 1 22:20:13 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): use
height - page_size not height - allocation->height
Christian Rose [Fri, 1 Feb 2002 20:54:08 +0000 (20:54 +0000)]
Updated Swedish translation.
2002-02-01 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Owen Taylor [Fri, 1 Feb 2002 20:23:12 +0000 (20:23 +0000)]
Fix typo in property description. (Christian Rose.)
Fri Feb 1 15:22:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimage.c (gtk_image_class_init): Fix typo
in property description. (Christian Rose.)
Owen Taylor [Fri, 1 Feb 2002 20:14:02 +0000 (20:14 +0000)]
Handle reparsing any strings if the theme changes. (#69465)
Fri Feb 1 14:50:36 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_parse_string): Handle reparsing
any strings if the theme changes. (#69465)
* tests/testgtk.c: Add a test for gtk_rc_parse_string().
Kjartan Maraas [Fri, 1 Feb 2002 20:01:12 +0000 (20:01 +0000)]
Updated Norwegian (bokmål) translation.
2002-02-01 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Kristian Rietveld [Fri, 1 Feb 2002 19:49:49 +0000 (19:49 +0000)]
set tree to NULL if tree_view->priv->tree is NULL (#70152, patch by John
Fri Feb 1 20:50:29 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): set tree to
NULL if tree_view->priv->tree is NULL (#70152, patch by John Harper).
Owen Taylor [Fri, 1 Feb 2002 17:53:56 +0000 (17:53 +0000)]
ri Feb 1 12:51:20 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (focus_child_in): Catch the
cur_page == NULL (no children) case. (#70287,
Paolo Maggi.)
Ole Laursen [Fri, 1 Feb 2002 17:53:10 +0000 (17:53 +0000)]
Updated Danish translation.
2002-02-01 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Owen Taylor [Fri, 1 Feb 2002 17:41:47 +0000 (17:41 +0000)]
s/directory/folder/ in all labels and messages.
Fri Feb 1 12:12:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (attempt_file_completion):
s/directory/folder/ in all labels and messages.
Owen Taylor [Fri, 1 Feb 2002 14:15:56 +0000 (14:15 +0000)]
Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_exit_func): Remove this useless
atexit handler. (existance pointed out by Stefan Kost)
* gtk/gtkmain.c (gtk_init_check): Warning fixes.
Jonathan Blandford [Thu, 31 Jan 2002 23:47:23 +0000 (23:47 +0000)]
unref the model after the last use, not before.
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
model after the last use, not before.
Owen Taylor [Thu, 31 Jan 2002 22:05:38 +0000 (22:05 +0000)]
Install a Default RC file that sets the tooltips color to yellow. (#58542)
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
RC file that sets the tooltips color to yellow. (#58542)
* gtk/gtksettings.c (gtk_settings_class_init): make
the default theme "Default", not NULL.
Owen Taylor [Thu, 31 Jan 2002 20:14:18 +0000 (20:14 +0000)]
Install a Default RC file that sets the tooltips color to yellow. (#58542)
Thu Jan 31 14:50:16 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.default gtk/Makefile.am: Install a Default
RC file that sets the tooltips color to yellow. (#58542)
* gtk/gtksettings.c (gtk_settings_class_init): make
the default theme "Default", not NULL.
Owen Taylor [Thu, 31 Jan 2002 16:37:27 +0000 (16:37 +0000)]
Fix another missing static.
Thu Jan 31 11:33:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkproperty-x11.c (insert_atom_pair): Fix
another missing static.
* gtk/gtkimmodule.c (n_loaded_contexts): And another.
* gdk/x11/Makefile.am gdk/x11/gxid_lib.c: Don't
build gxid sources at all except in the vanishingly
rare case of --with-xinput=xfree.
Owen Taylor [Thu, 31 Jan 2002 16:13:12 +0000 (16:13 +0000)]
Try to make sure that we have some focused widget on map. (#50339)
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_show): Try to make
sure that we have some focused widget on map. (#50339)
* gtk/gtkdialog.c (gtk_dialog_map): Handling picking
a focus widget here differently so that if a
response button gets picked, it's the default one.
* tests/testgtk.c (make_message_dialog): Set the
default response for the dialogs.
Mark McLoughlin [Thu, 31 Jan 2002 15:48:58 +0000 (15:48 +0000)]
make static.
2002-01-31 Mark McLoughlin <mark@skynet.ie>
* gdk/gdkimage.c: (scratch_image_info_for_depth): make static.
* gdk/x11/gdkimage-x11.c: (get_full_image): ditto.
* gdk/x11/gxid_lib.[ch]: (_gxid_claim_device), (_gxid_release_device):
renamed from gxid_(claim|release)_device.
* gdk/x11/gdkinput-gxi.c: (_gdk_input_enable_window),
(_gdk_input_disable_window): upd for gxid change.
* gtk/gtkimage.c: (animation_timeout): make static.
* gtk/gtkstyle.c: (draw_thin_shadow), (draw_spin_entry_shadow): make
static.
* gtk/gtktextutil.c: (bidi_menu_entries): make static.
Owen Taylor [Thu, 31 Jan 2002 15:26:52 +0000 (15:26 +0000)]
Handle the case where bin->child is NULL. (#70153, Padraig O'Briain)
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
bin->child is NULL. (#70153, Padraig O'Briain)
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
Actually call gettext() on the labels; previously they
were marked with N_() but we never called gettext().
Owen Taylor [Thu, 31 Jan 2002 15:08:41 +0000 (15:08 +0000)]
Add missing files (Christian Rose #70165)
Thu Jan 31 09:41:09 2002 Owen Taylor <otaylor@redhat.com>
* POTFILES.in: Add missing files (Christian Rose
#70165)
Christian Rose [Thu, 31 Jan 2002 13:00:35 +0000 (13:00 +0000)]
Updated Swedish translation.
2002-01-31 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Jonathan Blandford [Thu, 31 Jan 2002 01:17:21 +0000 (01:17 +0000)]
save last minute changes before committing.
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
changes before committing.
Jonathan Blandford [Wed, 30 Jan 2002 23:51:04 +0000 (23:51 +0000)]
only emit the signal if an interesting column changes.
Wed Jan 30 18:46:14 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_valist): only emit the
signal if an interesting column changes.
* gtk/gtktreestore.c: ditto.
* gtk/gtktreeview.c (gtk_tree_view_set_cursor): change behavior so
that it no longer grabs
Manish Singh [Wed, 30 Jan 2002 23:35:08 +0000 (23:35 +0000)]
remove unused variable.
2002-01-30 Manish Singh <yosh@gimp.org>
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
variable.
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
Matthias Clasen [Wed, 30 Jan 2002 22:35:12 +0000 (22:35 +0000)]
Add bug number to my last entry.
Ole Laursen [Wed, 30 Jan 2002 22:33:07 +0000 (22:33 +0000)]
Updated Danish translation.
2002-01-30 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Matthias Clasen [Wed, 30 Jan 2002 22:29:03 +0000 (22:29 +0000)]
Remove excess calls to g_return_if_fail from static and virtual functions.
Anders Carlsson [Wed, 30 Jan 2002 21:00:49 +0000 (21:00 +0000)]
Allow a -1 icon size.
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Tim Janik [Wed, 30 Jan 2002 19:29:59 +0000 (19:29 +0000)]
fix revrted bug fix. (use a define for max digits).
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
(use a define for max digits).
Owen Taylor [Wed, 30 Jan 2002 18:58:31 +0000 (18:58 +0000)]
Try to make sure that we have some focused widget on map. (#50339)
Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_show): Try to make
sure that we have some focused widget on map. (#50339)
* gtk/gtkdialog.c (gtk_dialog_map): Handling picking
a focus widget here differently so that if a
response button gets picked, it's the default one.
* tests/testgtk.c (make_message_dialog): Set the
default response for the dialogs.
Owen Taylor [Wed, 30 Jan 2002 04:54:06 +0000 (04:54 +0000)]
1.3.13
Tue Jan 29 22:52:36 2002 Owen Taylor <otaylor@redhat.com>
* 1.3.13
* configure.in: Micro version 13, interface, binary
age 0. Require GLIB-1.3.13, Pango 0.24.
* docs/Makefile.am (EXTRA_DIST): Add widget_geometry.txt,
sizing-test.txt, tree-column-sizing.txt
* docs/Makefile.am (EXTRA_DIST): Don't distribute
Changes-1.2.txt, Changes-2.0.txt, README.linux-fb,
since they are no longer canonical.
* gtk/gtk.def: Convert spaces to tabs in front of
gtk_widget_set_accel_path in case it matters.
* NEWS: Updated for 1.3.13.
Owen Taylor [Wed, 30 Jan 2002 04:43:08 +0000 (04:43 +0000)]
add extra templates files
Owen Taylor [Wed, 30 Jan 2002 04:42:29 +0000 (04:42 +0000)]
Add x11.sgml.
Tue Jan 29 23:41:31 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am (content_files): Add x11.sgml.
* gtk/changes-2.0.sgml: SGML fix.
* gtk/gtk-sections.txt: Updated.
Owen Taylor [Wed, 30 Jan 2002 03:32:13 +0000 (03:32 +0000)]
Export gtk_widget_set_accel_path().
Tue Jan 29 22:31:07 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch] gtkmenuitem.c gtkitemfactory.c: Export
gtk_widget_set_accel_path().
* gtk/gtk.def: Add gtk_widget_set_accel_path.
Owen Taylor [Wed, 30 Jan 2002 03:07:14 +0000 (03:07 +0000)]
Consistently use GdkModifierType. (#66950, Mark Patton)
Tue Jan 29 21:50:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkaccelmap.[ch] gtk/gtkbindings.[ch] gtk/gtkwidget.[ch]:
Consistently use GdkModifierType. (#66950, Mark Patton)
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
For consistency with gtk_button_new_from_stock(), fall back
to gtk_image_menu_item_new_with_mnemnonic(). (#65944,
Havoc Pennington)
* gtk/gtkitemfactory.[ch] (gtk_item_factory_path_from_widget):
Make G_CONST_RETURN. (#68527, Matt Wilson)
Owen Taylor [Wed, 30 Jan 2002 02:01:10 +0000 (02:01 +0000)]
Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType,
Tue Jan 29 19:51:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkenums.h: Deprecate GtkPreviewType,
GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
(#68183, Matthias Clasen)
* gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
the public header to avoid having to use GtkSubmenuPlacement.
* gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.
* gdk/gdki18n.h: Deprecate contents. (Darin Adler.)
Owen Taylor [Wed, 30 Jan 2002 01:58:01 +0000 (01:58 +0000)]
Document that the end points are included in the range. (#69783, Jeffrey
Tue Jan 29 20:56:13 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtk[vh]scale.c (gtk_[vh]scale_new_with_range): Document
that the end points are included in the range. (#69783,
Jeffrey Baker)
Owen Taylor [Wed, 30 Jan 2002 01:47:27 +0000 (01:47 +0000)]
Revert the last changes to make the number of digits only effect drawing,
Tue Jan 29 20:38:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkscale.[ch]: Revert the last changes to make the
number of digits only effect drawing, instead, don't
round unless we are in the 'draw_value' mode -- this
is the behavior of GTK+-1.2, and keeps the behavior that
if the user sees a displayed value, it is the correct value.
Owen Taylor [Wed, 30 Jan 2002 01:02:43 +0000 (01:02 +0000)]
ue Jan 29 19:51:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkenums.h: Deprecate GtkPreviewType,
GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
(#68183, Matthias Clasen)
* gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
the public header to avoid having to use GtkSubmenuPlacement.
* gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.
* gdk/gdki18n.h: Deprecate contents. (Darin Adler.)
Owen Taylor [Wed, 30 Jan 2002 00:35:51 +0000 (00:35 +0000)]
Fix wrong usage of g_value_set/get_object for PROP_TABS and memory leak in
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Owen Taylor [Wed, 30 Jan 2002 00:08:41 +0000 (00:08 +0000)]
Document that a size of (GtkIconSize)-1 means don't scale.
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that
a size of (GtkIconSize)-1 means don't scale.
* gtk/gtkstyle.c (gtk_default_render_icon): Obey the
-1 convention.
* gtk/gtkimage.c (gtk_image_expose): Pass in -1 to
gtk_style_render_icon() to make sure that we catch it
obviously if the style's render function tries to
scale.
Havoc Pennington [Tue, 29 Jan 2002 23:59:21 +0000 (23:59 +0000)]
Optimize exposes of partial insensitive images.
Tue Jan 29 18:50:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimage.c (gtk_image_expose): Optimize exposes of
partial insensitive images.
2002-01-24 Havoc Pennington <hp@redhat.com>
* gtk/gtkimage.c (gtk_image_expose): create insensitive version of
the image regardless of storage type, #63305
* demos/gtk-demo/images.c: add toggle button to demonstrate that
GtkImage makes its contents insensitive
Owen Taylor [Tue, 29 Jan 2002 22:46:21 +0000 (22:46 +0000)]
Call _gdk_draw_pixbuf(), thus enabling using this function for pixbufs
Tue Jan 29 17:40:02 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
Call _gdk_draw_pixbuf(), thus enabling using this function
for pixbufs with alpha. (#68801)
* gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Move
implementation of gdk_pixbuf_render_to_drawable()
to here.
Owen Taylor [Tue, 29 Jan 2002 22:27:17 +0000 (22:27 +0000)]
Patch from Jacob Berkman to fix problem when the height/width of a layout
Tue Jan 29 17:16:17 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtklayout.c: Patch from Jacob Berkman to fix problem
when the height/width of a layout was set before the
adjustments were added. (#66294)
* gtk/gtktreeview.c: Warning cleanups.
Owen Taylor [Tue, 29 Jan 2002 22:14:19 +0000 (22:14 +0000)]
Small fix to size of torn off window (#60271, Detlef Reichl)
Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
fix to size of torn off window (#60271, Detlef Reichl)
* gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
by Ross Burton)
Kristian Rietveld [Tue, 29 Jan 2002 22:08:12 +0000 (22:08 +0000)]
free cursor_path after usage
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
cursor_path after usage
(gtk_tree_view_real_start_interactive_search): use new g_signal
and g_object calls
(gtk_tree_view_search_dialog_destroy): use g_object calls and free
selected_iter if set
(gtk_tree_view_search_position_func): rework so it will never ever
appear offscreen (#68492)
(gtk_tree_view_search_move): use new g_object calls
(gtk_tree_view_search_init): free selected_iter if set, use new
g_object calls
(gtk_tree_view_leave_notify): don't destroy interactive search
dialog
Tue Jan 29 23:07:03 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
send focus in event
(gtk_tree_view_search_dialog_destroy): send focus out event (#66466)
Chyla Zbigniew [Tue, 29 Jan 2002 21:49:11 +0000 (21:49 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Anders Carlsson [Tue, 29 Jan 2002 21:29:55 +0000 (21:29 +0000)]
Show correct size in the size entry.
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Owen Taylor [Tue, 29 Jan 2002 21:17:13 +0000 (21:17 +0000)]
Use gtk_tree_view_set_cursor() instead of
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
gtk_tree_view_set_cursor() instead of gtk_tree_selection_select_iter().
* gtk/gtkfontsel.c (gtk_font_selection_init): Add mnemonic to
preview field. (#52433, patch from Anders Carlsson)
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Remove the
dialog separator. (#69558, Alex Larsson, patch from Anders Carlsson)
Owen Taylor [Tue, 29 Jan 2002 20:53:17 +0000 (20:53 +0000)]
Switch over to GtkTreeView from GtkCList. Remove the entries above the
Tue Jan 29 15:24:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.[ch]: Switch over to GtkTreeView from
GtkCList. Remove the entries above the font/face lists
since they were a little confusing. (Not sure about this
change, so the code is still there the entries are
just hidden.) (#68890)
* gtk/gtkfilesel.c: Switch over to GtkTreeView from
GtkCList. Add mnemonics for fileops. Allow Control/Shift
Tab to focus out.
* gtk/gtkfilesel.c: Make fileop dialogs transient-for
the fileselector. (#69336, patch from Melvin Hadasht)
* gtk/gtkgamma.c (button_clicked_callback): Fix handling
of gamma dialog a bit. (#69336, Matthias Clasen.)
Owen Taylor [Tue, 29 Jan 2002 19:58:43 +0000 (19:58 +0000)]
Return boolean (and FALSE from focus_in / focus_out handlers. (#69528,
Tue Jan 29 14:56:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (toplevel_focus_out_handler): Return boolean
(and FALSE from focus_in / focus_out handlers. (#69528,
Padraig O'Briain)
Owen Taylor [Tue, 29 Jan 2002 19:49:26 +0000 (19:49 +0000)]
Remove the scary startup warning.
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
Owen Taylor [Tue, 29 Jan 2002 19:44:49 +0000 (19:44 +0000)]
Add <Control>Tab bindings for "move-focus" so that Control-Tab to escape
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_class_init): Add <Control>Tab
bindings for "move-focus" so that Control-Tab to escape from
something that eats Tab just works if not otherwise overriden.
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range)
* gtk/gtkvscale.c (gtk_vscale_new_with_range)
* gtk/gtkhscale.c (gtk_hscale_new_with_range): Use a page_size
of zero for the adjustment, since at times we think that the range
is lower to upper - page_size. A page size equally to the
step_increment is, in any case, not meaningful.
Tor Lillqvist [Tue, 29 Jan 2002 13:59:47 +0000 (13:59 +0000)]
Add comment about gtk-1-3-win32-production branch currently being ahead in
2002-01-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Add comment about gtk-1-3-win32-production branch
currently being ahead in functionality and code cleanliness (in
gdk/win32). Just in case somebody looks at the code in gdk/win32
here and starts fixing it, when it is going to change soonish
anyway.
Sven Neumann [Tue, 29 Jan 2002 12:24:02 +0000 (12:24 +0000)]
don't install an empty icon_set if none of the image files could be found
2002-01-29 Sven Neumann <sven@gimp.org>
* gtk/gtkrc.c: don't install an empty icon_set if none of the image
files could be found in the pixmap_path (bug #69398).
Sven Neumann [Tue, 29 Jan 2002 11:47:15 +0000 (11:47 +0000)]
fixed a segfault that showed up when using the color picker.
2002-01-29 Sven Neumann <sven@gimp.org>
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
that showed up when using the color picker.
Tim Janik [Tue, 29 Jan 2002 11:35:28 +0000 (11:35 +0000)]
fix default value for ::digits property, leave as 1 as per havoc's
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.[hc]: fix default value for ::digits property,
leave as 1 as per havoc's request.
don't apply the draw_digits value to range->round_digits,
so we don't perform gross quantization by default.
Havoc Pennington [Tue, 29 Jan 2002 04:55:48 +0000 (04:55 +0000)]
fix assertion failure by creating the line data, but not validating it at
2002-01-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_btree_delete): fix assertion
failure by creating the line data, but not validating it at this
stage. Also, remove old code related to the "bogus newline" mess
that removed all tags from the last char in the buffer if you
tried to delete it.
(_gtk_text_line_data_new): put this here and prepend underscore,
remove from gtktextlayout.c
Chyla Zbigniew [Tue, 29 Jan 2002 02:01:59 +0000 (02:01 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Owen Taylor [Tue, 29 Jan 2002 01:36:05 +0000 (01:36 +0000)]
modules/input/imhangul.c modules/input/imhangul-defs.h po/POTFILES.in. Add
Mon Jan 28 19:57:39 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/imhangul.c modules/input/imhangul-defs.h
po/POTFILES.in. Add port of Emacs korean-hangul input
method from Yusuke Tabata (#67665)
Owen Taylor [Mon, 28 Jan 2002 23:38:37 +0000 (23:38 +0000)]
ChangeLog fixups
Owen Taylor [Mon, 28 Jan 2002 23:28:16 +0000 (23:28 +0000)]
Paint focus before shadow to give theme engines a bit more flexibility.
Mon Jan 28 18:25:10 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_draw_frame): Paint focus
before shadow to give theme engines a bit more
flexibility. (#69857)
Szabolcs Ban [Mon, 28 Jan 2002 21:58:31 +0000 (21:58 +0000)]
Hungarian translations
Jonathan Blandford [Mon, 28 Jan 2002 21:24:27 +0000 (21:24 +0000)]
no longer g_assert.
Mon Jan 28 16:23:20 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): no longer
g_assert.
Owen Taylor [Mon, 28 Jan 2002 20:36:38 +0000 (20:36 +0000)]
Fix hint computation again.
Mon Jan 28 15:34:43 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Fix hint computation
again.
Jon Trowbridge [Mon, 28 Jan 2002 20:28:52 +0000 (20:28 +0000)]
When setting the GtkTreeView's model, set prelight_node, prelight_tree,
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
Bill Haneman [Mon, 28 Jan 2002 20:19:42 +0000 (20:19 +0000)]
Changes to gtktreeview to better support thicker focus lines,
and enhancements to the visibility of the default expander when
its size has been increased.
Jonathan Blandford [Mon, 28 Jan 2002 19:48:48 +0000 (19:48 +0000)]
Only activate/edit the row if shift is not pressed, #69248
Mon Jan 28 14:44:40 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): Only
activate/edit the row if shift is not pressed, #69248
Anders Carlsson [Mon, 28 Jan 2002 19:37:47 +0000 (19:37 +0000)]
Fix build.
2002-01-28 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcurve.c (gtk_curve_set_vector): Fix build.
Matthias Clasen [Mon, 28 Jan 2002 18:52:49 +0000 (18:52 +0000)]
General property notification cleanup.
Owen Taylor [Mon, 28 Jan 2002 17:25:14 +0000 (17:25 +0000)]
Fix problems in computing MISSING hint.
Mon Jan 28 12:17:07 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Fix problems in computing
MISSING hint.
Jonathan Blandford [Mon, 28 Jan 2002 17:08:54 +0000 (17:08 +0000)]
Forgot to commit this last week.
Duarte Loreto [Mon, 28 Jan 2002 12:32:29 +0000 (12:32 +0000)]
Converted to UTF-8 (I read the README but forgot to do it before).
2002-01-28 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Converted to UTF-8 (I read the README but
forgot to do it before).
Anders Carlsson [Mon, 28 Jan 2002 07:43:26 +0000 (07:43 +0000)]
& with the default mod mask so accels work when numlock is on.
2002-01-28 Anders Carlsson <andersca@gnu.org>
* gtk/gtkaccelgroup.c (gtk_accel_groups_activate): & with the
default mod mask so accels work when numlock is on.
Owen Taylor [Mon, 28 Jan 2002 05:34:17 +0000 (05:34 +0000)]
Optimize the case where a component is entirely transparent by skipping
Sun Jan 27 23:58:13 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Optimize the case
where a component is entirely transparent by skipping
drawing it.
* pixbuf-rc-style.c (theme_parse_image): Catch case
where background or overlay border/stretch are specified
without a background image.
* pixbuf-render.c (theme_pixbuf_destroy): Actually free
the structure and filename.
Kristian Rietveld [Sun, 27 Jan 2002 22:24:33 +0000 (22:24 +0000)]
ugh, I also forgot to add the date in the ChangeLog ...
Kristian Rietveld [Sun, 27 Jan 2002 22:21:27 +0000 (22:21 +0000)]
add _gtk_rbtree_mark_invalid (my previous commit already needed this ...)
Sun Jan 27 23:23:23 Kristian Rietveld <kris@gtk.org>
* gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
commit already needed this ...)
(/me broke the build for the first time ... :)